#region <!--##session ASPXLoginWholeClass##-->
		/*<!--##
		##-->*/
<%@ Page Language="C#" MasterPageFile="~/DefaultMasterPage.master" AutoEventWireup="true"
			ValidateRequest="false" CodeFile="Login.aspx.cs" Inherits="<!--##=RepositoryManager.Instance.Repository.ProjectName##-->.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">

		/*<!--##
		codeGeneratorVariable_DisplayCode.Append(Login() + Environment.NewLine);
		##-->*/
</asp:Content>	
<!--##/session##-->
#endregion

#region <!--##session Login##-->
<!-- for keeping window in center -->
    <script language="javascript" type="text/javascript">
     function ResetControls()
     {
        document.getElementById("<%=txtLogin.ClientID%>").ResetValue();
        document.getElementById("<%=txtPassword.ClientID%>").ResetValue();
     }
    </script>

    <asp:ValidationSummary ID="vldrSummary" runat="server" HeaderText="" ShowSummary="False"
        ShowMessageBox="True" ForeColor="#FF0000" />
    <table cellpadding="0" cellspacing="0" border="0" class="loginMainTable" >
        <tr>
            <td width="35%">
            </td>
            <td style="vertical-align: middle; text-align: center" align="center">
                <!-- for keeping buttons with window -->
                <table cellpadding="5" cellspacing="0" border="0" style="vertical-align: top; text-align: left">
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="lblErrorMessage" runat="server" EnableViewState="false" Style="color: Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <uasp:FrameWindow ID="frameLogin" ImageURL="~/images/Login.gif" Title="<%$ resources:GeneralResource,Title_Login %>"
                                runat="server">
                                <uasp:FRow>
                                    <uasp:WCell>
        <asp:Label ID="lblLogin"  runat="server" Text="<%$ resources:GeneralResource,Caption_LoginName %>"/>
                                    </uasp:WCell>
                                    <uasp:WCell>
       <uasp:ASCXTextBox  ID="txtLogin" IsRequired="true" runat="server" Caption="<%$ resources:GeneralResource,Caption_LoginName %>" />
                                    </uasp:WCell>
                                </uasp:FRow>
                                <uasp:FRow>
                                    <uasp:WCell>
                                            <asp:Label ID="lblPassword" runat="server"  Text="<%$ resources:GeneralResource,Caption_Password %>"/>
                                    </uasp:WCell>
                                    <uasp:WCell>
                                        <uasp:ASCXTextBox ID="txtPassword" runat="server" IsRequired="true" TextMode="Password" Caption="<%$ resources:GeneralResource,Caption_Password %>"  />
                                    </uasp:WCell>
                                </uasp:FRow>
                            </uasp:FrameWindow>
                        </td>
                    </tr>
                    <tr>
                       <td>
                        <table border="0">
                        <tr>
                        <td>
                            <uasp:ASCXButton ID="btnLogin" IsDefault="true" runat="server" Text="<%$ resources:GeneralResource,Caption_Login %>"
                                OnClick="btnLogin_Click" />
                        </td>
                        <td>
                            <uasp:ASCXButton ID="btnReset" runat="server" Text="<%$ resources:GeneralResource,Caption_Reset %>"
                                OnClientClick="ResetControls()" />
                        </td>
                        </tr></table>
                        </td>

                    </tr>
                </table>
            </td>
            <td width="35%">
            </td>
        </tr>
    </table>        
<!--##/session##-->
#endregion




